<div *ngIf="loading">
  Loading...
</div>
<div *ngIf="error">
  Error :(
</div>
<div *ngIf="products">
  <div *ngFor="let product of products">
    <p>{{product.name}}</p>
  </div>
</div>
